package com.zyy.chain;

/**
 * @Description: 类描述
 * @Author: zyy
 * @Date: 2023/08/09 18:00
 */
public class GroupLeader extends Handler {

    public GroupLeader() {
        super(Handler.NUM_ONE, Handler.NUM_THREE);
    }

    @Override
    public void handleLeave(LeaveRequest leaveRequest) {
        System.out.println(leaveRequest.getName() + "请假" + leaveRequest.getNum() + "天，" + leaveRequest.getContent());
        System.out.println("小组长审批通过：同意！");

    }
}
